<template>
 <ul>
     <li>news001&nbsp;&nbsp;<input type="text"></li>
     <li>news002&nbsp;&nbsp;<input type="text"></li>
     <li>news003&nbsp;&nbsp;<input type="text"></li>
 </ul>
</template>

<script>
  export default {
      name:'News',
      beforeDestroy() {
          console.log('News组件即将被销毁')
      },
      mounted() {
           console.log('News组件挂在完毕')
      },

  }
</script>
